package com.truongnha.clienttn.data.dao;

import android.database.sqlite.SQLiteDatabase;
import android.util.Log;

public class TeacherAttendScheme {
	public static final String TABLE_NAME = "Teacher_attend";
	public static final String ID = "id";
	public static final String DATA = "data";
	public static final String CLASS_ID = "class_id";
	public static final String DAY = "day";
	public static final String MONTH = "month";
	public static final String YEAR = "year";
	
	private static final String DATABASE_CREATE = "create table "
			+ TABLE_NAME + "(" + ID + " integer primary key  ," + DATA
			+ " text," + CLASS_ID + " integer, " + DAY + " integer, " 
			+ MONTH + " integer," + YEAR + " integer"
			+  " );";

	public static void onCreate(SQLiteDatabase db) {
		Log.i("LOG", "on Create account table");
		db.execSQL(DATABASE_CREATE);

	}
}
